package com.group3.group3.menu.service;

import com.group3.group3.mybatis.entity.PtMenuEntity;
import com.group3.group3.mybatis.entity.PtMenuI18nEntity;
import com.group3.group3.mybatis.ztree.ZtreeEntity;

import java.util.List;

public interface MenuService {
    List<ZtreeEntity> getMenuTree();
    PtMenuEntity getMenuInfoById(String menuId);
    void modifyMenuInfoById(PtMenuEntity entity);
    void addMenuInfoById(PtMenuEntity entity);
    void deleteMenuInfoById(String menuId);
    List<ZtreeEntity> getMenuTreeByMenuId(String menuId);

    void boundMenu(String menuId, String parentId);
    void unBoundByMenuId(String menuId);


    List<PtMenuI18nEntity> getI18nByMenuId(String menuId);


    void saveI18nData(PtMenuI18nEntity entity);

    void addI18nData(PtMenuI18nEntity entity);

    void deleteI18nData(PtMenuI18nEntity entity);

}
